package com.iretailer.report.mapper;


import com.iretailer.report.base.SuperMapper;
import com.iretailer.report.model.Sales;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Auther: xjw
 * @Date: 2019/1/21 13:23
 * @Description:
 */
public interface SalesMapper extends SuperMapper<Sales> {

    int replace(@Param("salesList") List<Sales> salesList);

    List<Sales> selectGroupByMallAndDate(@Param("mallIds") List<String> mallIds, @Param("startDate") String startDate, @Param("endDate") String endDate);
}
